import {
    commonRequestFunc,
    loginRequestFunc,
    adminRequestFunc
} from './commonRequest'
import hashmap from './apikey_map'
import { request } from './request'
import { getCookie } from './cookie'
// 登录
export function loginIn(requestBody) {
    const apiKey = hashmap.login.login
    return loginRequestFunc(apiKey, requestBody, true)
}
// 获取登录后菜单权限
export function getUserMenuList(requestBody) {
    // debugger
    const apiKey = hashmap.login.getUserMenuList
    return loginRequestFunc(apiKey, requestBody)
}
// 注销
export function loginOut(requestBody) {
    const apiKey = hashmap.login.loginout
    return loginRequestFunc(apiKey, requestBody)
}
// 密码校验
export function yzPwd(requestBody) {
    const apiKey = hashmap.login.detailImportantInfo
    return loginRequestFunc(apiKey, requestBody)
}
// 天气
export function weather(requestBody) {
    const apiKey = hashmap.weather.weather
    return commonRequestFunc(apiKey, requestBody)
}
// 一键关闭
export function esc(requestBody) {
    const apiKey = hashmap.intelligent_fire.esc
    return commonRequestFunc(apiKey, requestBody)
}

//预警事件详情信息
export function warnEventInfo(requestBody) {
    const apiKey = hashmap.intelligent_fire.warnEventInfo
    return commonRequestFunc(apiKey, requestBody)
}
//预警事件列表
export function warnEventList(requestBody) {
    const apiKey = hashmap.intelligent_fire.warnEventList
    return commonRequestFunc(apiKey, requestBody)
}
//火警报警统计信息
export function firePoliceStatisticInfo(requestBody) {
    const apiKey = hashmap.intelligent_fire.firePoliceStatisticInfo
    return commonRequestFunc(apiKey, requestBody)
}
//火警报警趋势分析
export function firePoliceAnalysis(requestBody) {
    const apiKey = hashmap.intelligent_fire.firePoliceAnalysis
    return commonRequestFunc(apiKey, requestBody)
}
//消控室远程列表信息
export function fireRoomListInfo(requestBody) {
    const apiKey = hashmap.intelligent_fire.fireRoomListInfo
    return commonRequestFunc(apiKey, requestBody)
}
//设备类型资源列表的单位信息
export function resourceListCompanyInfo(requestBody) {
    const apiKey = hashmap.intelligent_fire.resourceListCompanyInfo
    return commonRequestFunc(apiKey, requestBody)
}
//今日成灾火警和今日预警
export function warnEventInfoToday(requestBody) {
    const apiKey = hashmap.intelligent_fire.warnEventInfoToday
    return commonRequestFunc(apiKey, requestBody)
}
//获取设备点位信息
export function positionInfo(requestBody) {
    const apiKey = hashmap.intelligent_fire.positionInfo
    return commonRequestFunc(apiKey, requestBody)
}
// 获取小区通讯录楼的栋数
export function buildingCount(requestBody) {
    const apiKey = hashmap.intelligent_fire.buildingCount
    return commonRequestFunc(apiKey, requestBody)
}

// 新消防右侧
//预警事件信息查询
export function warnEventInfoSearch(requestBody) {
    const apiKey = hashmap.intelligent_fire.warnEventInfoSearch
    return commonRequestFunc(apiKey, requestBody)
}
// 事件预警列表信息查询
export function queryWarnEventList(requestBody) {
    const apiKey = hashmap.intelligent_fire.queryWarnEventList
    return commonRequestFunc(apiKey, requestBody)
}

// 获取未处理数量
export function getUntreatedCount(requestBody) {
    const apiKey = hashmap.intelligent_fire.getUntreatedCount
    return commonRequestFunc(apiKey, requestBody)
}
// 获取小区对应的设备
export function getAreaEquipment(requestBody) {
    const apiKey = hashmap.intelligent_fire.getAreaEquipment
    return adminRequestFunc(apiKey, requestBody)
}
// 获取小区单位通讯录
export function getDanweiConcatList(requestBody) {
    const apiKey = hashmap.intelligent_fire.getDanweiConcatList
    return adminRequestFunc(apiKey, requestBody)
}
// 发送短信
export function sendMsg(requestBody) {
    const apiKey = hashmap.intelligent_fire.sendMsg
    return commonRequestFunc(apiKey, requestBody)
}
// 确认关联小区
export function confirmBindArea(requestBody) {
    const apiKey = hashmap.intelligent_fire.confirmBindArea
    return commonRequestFunc(apiKey, requestBody)
}
// 查询事件详情
export function searchEventDesc(requestBody) {
    const apiKey = hashmap.intelligent_fire.searchEventDesc
    return commonRequestFunc(apiKey, requestBody)
}
// 事件联系情况处理
export function eventComfirmCommit(requestBody) {
    const apiKey = hashmap.intelligent_fire.eventComfirmCommit
    return commonRequestFunc(apiKey, requestBody)
}
// 误报数统计信息
export function wuBaoCount(requestBody) {
    const apiKey = hashmap.intelligent_fire.wuBaoCount
    return commonRequestFunc(apiKey, requestBody)
}

// 智慧治理事件查询
export function wisdomEvent(requestBody) {
    const apiKey = hashmap.government.wisdomEvent
    return commonRequestFunc(apiKey, requestBody)
}
// 综合治理事件信息
export function governmentEvent(requestBody) {
    const apiKey = hashmap.government.governmentEvent
    return commonRequestFunc(apiKey, requestBody)
}
// 综合治理事件分析
export function governmentAnalysis(requestBody) {
    const apiKey = hashmap.government.governmentAnalysis
    return commonRequestFunc(apiKey, requestBody)
}
// 获取网格图层信息
export function governmentLayer(requestBody) {
    const apiKey = hashmap.government.governmentLayer
    return commonRequestFunc(apiKey, requestBody)
}
// 类型字典列表
export function governmentDict(requestBody) {
    const apiKey = hashmap.government.governmentDict
    return commonRequestFunc(apiKey, requestBody)
}
// 事件流转列表
export function governmentTracking(requestBody) {
    const apiKey = hashmap.government.governmentTracking
    return commonRequestFunc(apiKey, requestBody)
}
// 修改事件紧急程度
export function modifyUrgent(requestBody) {
    const apiKey = hashmap.eventflow.modifyUrgent
    return commonRequestFunc(apiKey, requestBody)
}

//智慧安防

// 人员追踪以图搜图
export function queryCapture(requestBody) {
    const apiKey = hashmap.security.queryCapture
    return commonRequestFunc(apiKey, requestBody)
}

//获取常住流动人员信息
export function getPersonInfo(requestBody) {
    const apiKey = hashmap.security.getPersonInfo
    return commonRequestFunc(apiKey, requestBody)
}
//统计分析
export function statiAnalysis(requestBody) {
    const apiKey = hashmap.security.statiAnalysis
    return commonRequestFunc(apiKey, requestBody)
}
//智慧安防重点预警
export function keyWarning(requestBody) {
    const apiKey = hashmap.security.keyWarning
    return commonRequestFunc(apiKey, requestBody)
}
//显示重点人员信息
export function showImportantInfo(requestBody) {
    const apiKey = hashmap.security.showImportantInfo
    return commonRequestFunc(apiKey, requestBody)
}
//显示重点人员信息 里面的查看重点人员历史轨迹
export function showImportantHistoryTrack(requestBody) {
    const apiKey = hashmap.security.showHistoryTrack
    return commonRequestFunc(apiKey, requestBody)
}
//重点人员列表信息
export function controlPersonWarning(requestBody) {
    const apiKey = hashmap.security.controlPersonWarning
    return commonRequestFunc(apiKey, requestBody)
}
//安防图层
export function safeLayer(requestBody) {
    const apiKey = hashmap.security.safeLayer
    return commonRequestFunc(apiKey, requestBody)
}
//设备搜索
export function equipmentSearch(requestBody) {
    const apiKey = hashmap.equipment.equipmentSearch
    return commonRequestFunc(apiKey, requestBody)
}
// 内设机构  通信录
export function initOrganizationTree(requestBody) {
    const apiKey = hashmap.emergency.initOrganizationTree
    return commonRequestFunc(apiKey, requestBody)
}
// 辖区社区
export function initCommunityTree(requestBody) {
    const apiKey = hashmap.emergency.initCommunityTree
    return commonRequestFunc(apiKey, requestBody)
}
// 发送短信
export function sendMessage(requestBody) {
    const apiKey = hashmap.emergency.sendMessage
    return commonRequestFunc(apiKey, requestBody)
}

// 首页
// 街道概况
export function governmentStreet(requestBody) {
    const apiKey = hashmap.index.governmentStreet
    return commonRequestFunc(apiKey, requestBody)
}
// 人员力量
export function governmentSource(requestBody) {
    const apiKey = hashmap.index.governmentSource
    return commonRequestFunc(apiKey, requestBody)
}
// 物联感知设备
export function governmentOap(requestBody) {
    const apiKey = hashmap.index.governmentOap
    return commonRequestFunc(apiKey, requestBody)
}
// 事件概览
export function governmentEventStatistics(requestBody) {
    const apiKey = hashmap.index.governmentEventStatistics
    return commonRequestFunc(apiKey, requestBody)
}

// 修改 小区白膜楼层信息
export function floorByCode(requestBody) {
    const apiKey = hashmap.widsom.floorByCode
    return commonRequestFunc(apiKey, requestBody)
}
// 单体化楼栋信息
export function storiedBuilding(requestBody) {
    const apiKey = hashmap.widsom.storiedBuilding
    return commonRequestFunc(apiKey, requestBody)
}
// 楼层信息
export function storiedFloor(requestBody) {
    const apiKey = hashmap.widsom.storiedFloor
    return commonRequestFunc(apiKey, requestBody)
}
// 楼户信息
export function storiedHouse(requestBody) {
    const apiKey = hashmap.widsom.storiedHouse
    return commonRequestFunc(apiKey, requestBody)
}
// 实时会话(创建会议)
export function createSession(requestBody) {
    const apiKey = hashmap.emergency.createSession
    return commonRequestFunc(apiKey, requestBody)
}
// 关闭会议
export function exitSession(requestBody) {
    const apiKey = hashmap.emergency.exitSession
    return commonRequestFunc(apiKey, requestBody)
}

// 事件流程
// 事件受理
export function eventAccept(requestBody) {
    const apiKey = hashmap.eventflow.eventAccept
    return commonRequestFunc(apiKey, requestBody)
}
// 查看详情
export function eventTrackDetail(requestBody) {
    const apiKey = hashmap.eventflow.eventTrackDetail
    return commonRequestFunc(apiKey, requestBody)
}
// 展示按钮
export function showBtn(requestBody) {
    const apiKey = hashmap.eventflow.showBtn
    return commonRequestFunc(apiKey, requestBody)
}
// 指派对象
export function assignObj(requestBody) {
    const apiKey = hashmap.eventflow.assignObj
    return commonRequestFunc(apiKey, requestBody)
}
// 确认提交
export function trankSubmit(requestBody) {
    const apiKey = hashmap.eventflow.trankSubmit
    return commonRequestFunc(apiKey, requestBody)
}
// 指派
export function eventTrackAssign(requestBody) {
    const apiKey = hashmap.eventflow.eventTrackAssign
    return commonRequestFunc(apiKey, requestBody)
}
// 上报
export function eventTrackReport(requestBody) {
    const apiKey = hashmap.eventflow.eventTrackReport
    return commonRequestFunc(apiKey, requestBody)
}
// 退回
export function eventTrackReturn(requestBody) {
    const apiKey = hashmap.eventflow.eventTrackReturn
    return commonRequestFunc(apiKey, requestBody)
}
// 受理之后调的接口
export function eventAccepted(requestBody) {
    const apiKey = hashmap.eventflow.eventAccepted
    return commonRequestFunc(apiKey, requestBody)
}
// 事件  组织机构
export function eventOrgList(requestBody) {
    const apiKey = hashmap.eventflow.eventOrgList
    return commonRequestFunc(apiKey, requestBody)
}
// 事件  上传附件
export function uploadPicUrl(requestBody) {
    const apiKey = hashmap.eventflow.uploadPicUrl
    return commonRequestFunc(apiKey, requestBody)
}
// 视角书签
export function bookMarks(requestBody) {
    const apiKey = hashmap.security.bookMarks
    return commonRequestFunc(apiKey, requestBody)
}

// admin后台
// 排班表
export function getMailScheduleOfMonth(requestBody) {
    const apiKey = hashmap.admin.getMailScheduleOfMonth
    return adminRequestFunc(apiKey, requestBody)
}

// 每个班的联系人
export function getCataLogue(requestBody) {
    const apiKey = hashmap.admin.getCataLogue
    return adminRequestFunc(apiKey, requestBody)
}

// 三个通讯录列表
export function getCatalogueTree(requestBody) {
    const apiKey = hashmap.admin.catalogueTree
    return adminRequestFunc(apiKey, requestBody)
}

// 单兵设备列表 树的形式
export function getNwSimpleDeviceTree(requestBody) {
    const apiKey = hashmap.emergency.getNwSimpleDeviceTree
    return commonRequestFunc(apiKey, requestBody)
}
// 刷新单兵设备列表
export function freshSimpleDeviceCache(requestBody) {
    const apiKey = hashmap.emergency.freshSimpleDeviceCache
    return commonRequestFunc(apiKey, requestBody)
}

/* 智慧治理 */
// 综合治理 点击小区底部获取小区统计信息
export function getCommunityCountInfo(requestBody) {
    const apiKey = hashmap.widsom.getCommunityCountInfo
    return commonRequestFunc(apiKey, requestBody)
}
// 综合治理 获取设备列表 单兵和车载
export function getNwSimpleVehicleList(requestBody) {
    const apiKey = hashmap.widsom.getNwSimpleVehicleList
    return commonRequestFunc(apiKey, requestBody)
}
// 综合治理 获取设备轨迹 单兵和车载
export function getNwGpsTrajectory(requestBody) {
    const apiKey = hashmap.widsom.getNwGpsTrajectory
    return commonRequestFunc(apiKey, requestBody)
}
// 综合治理河道基础信息
export function getBaseRiverList(requestBody) {
    const apiKey = hashmap.widsom.getBaseRiverList
    return commonRequestFunc(apiKey, requestBody)
}
// 综合治理河道预警
export function getWarmRiverList(requestBody) {
    const apiKey = hashmap.widsom.getWarmRiverList
    return commonRequestFunc(apiKey, requestBody)
}
//获取河道实时监测数据
export function getNowRiversMonitorData(requestBody) {
    const apiKey = hashmap.widsom.getNowRiversMonitorData
    return commonRequestFunc(apiKey, requestBody)
}
// 获取河道水位统计数据
export function getRiverWaterLevelData(requestBody) {
    const apiKey = hashmap.widsom.getRiverWaterLevelData
    return commonRequestFunc(apiKey, requestBody)
}
// 获取河道水质统计数据
export function getRiverWaterQualityData(requestBody) {
    const apiKey = hashmap.widsom.getRiverWaterQualityData
    return commonRequestFunc(apiKey, requestBody)
}
//综合治理河道管理信息
export function riverCommonInfo(requestBody) {
    const apiKey = hashmap.widsom.riverCommonInfo
    return commonRequestFunc(apiKey, requestBody)
}
// 重点场所
export function keyPlacesInfo(requestBody) {
    const apiKey = hashmap.security.keyPlaces
    return commonRequestFunc(apiKey, requestBody)
}
// 重点场所数量
export function keyPlacesNumber(requestBody) {
    const apiKey = hashmap.security.keyPlacesNumber
    return commonRequestFunc(apiKey, requestBody)
}

// 获取临近的八个点的通道id.
export function getNearlyPointsChannelsId(requestBody) {
    const apiKey = hashmap.security.nearlyPointsChannelsId
    return commonRequestFunc(apiKey, requestBody)
}

// 近六周垃圾分类统计.
export function garbageWeeksRoom(requestBody) {
    const apiKey = hashmap.widsom.garbageWeeksRoom
    return commonRequestFunc(apiKey, requestBody)
}

// 小区排名.
export function garbageVillageRank(requestBody) {
    const apiKey = hashmap.widsom.garbageVillageRank
    return commonRequestFunc(apiKey, requestBody)
}

// 易腐垃圾日均.
export function garbageDailyWeight(requestBody) {
    const apiKey = hashmap.widsom.garbageDailyWeight
    return commonRequestFunc(apiKey, requestBody)
}

//  民生事件当月最新动态列表
export function newEvevtList(requestBody) {
    const apiKey = hashmap.liveli.newEvevtList
    return adminRequestFunc(apiKey, requestBody)
}

// eventDetail
export function eventDetail(requestBody) {
    const apiKey = hashmap.liveli.eventDetail
    return adminRequestFunc(apiKey, requestBody)
}

// 民生帮扶总数和组成
export function helpTotalAndMarkup(requestBody) {
    const apiKey = hashmap.liveli.helpTotalAndMarkup
    return adminRequestFunc(apiKey, requestBody)
}

// 民生帮扶趋势和排行
export function helpTrendAndRank(requestBody) {
    const apiKey = hashmap.liveli.helpTrendAndRank
    return adminRequestFunc(apiKey, requestBody)
}

// 民生帮扶组织排行
export function organationRank(requestBody) {
    const apiKey = hashmap.liveli.organationRank
    return adminRequestFunc(apiKey, requestBody)
}

// 民生帮扶组织列表 organationList
export function organationList(requestBody) {
    const apiKey = hashmap.liveli.organationList
    return adminRequestFunc(apiKey, requestBody)
}

// 民生帮扶组织详情
export function organationDetail(requestBody) {
    const apiKey = hashmap.liveli.organationDetail
    return adminRequestFunc(apiKey, requestBody)
}

// 帮扶组织内帮扶事项列表organationEventList
export function organationEventList(requestBody) {
    const apiKey = hashmap.liveli.organationEventList
    return adminRequestFunc(apiKey, requestBody)
}

// 帮扶对象列表
export function helperList(requestBody) {
    const apiKey = hashmap.liveli.helperList
    return adminRequestFunc(apiKey, requestBody)
}

// 帮扶事件
export function helpEventList(requestBody) {
    const apiKey = hashmap.liveli.helpEventList
    return adminRequestFunc(apiKey, requestBody)
}

// 有帮扶对象的小区列表
export function helpAreaList(requestBody) {
    const apiKey = hashmap.liveli.helpAreaList
    return adminRequestFunc(apiKey, requestBody)
}

// 帮扶进度
export function helpProgress(requestBody) {
    const apiKey = hashmap.liveli.helpProgress
    return adminRequestFunc(apiKey, requestBody)
}

// 帮扶详情类型map
export function typeMap(requestBody) {
    const apiKey = hashmap.liveli.typeMap
    return adminRequestFunc(apiKey, requestBody)
}

// 获取社区饼图数据
export function getPieData(requestBody) {
    const apiKey = hashmap.security.getPieData
    return commonRequestFunc(apiKey, requestBody)
}

// 获取社区红黑榜列表
export function getVillageList(requestBody, type = 'get') {
    // const apiKey = hashmap.security.getVillageList
    // return commonRequestFunc(apiKey, requestBody)

    request.defaults.headers.common['authorization'] = getCookie('login_tokens')
    return request({
        'url': '/community/histogram',
        'method': type,
        'Content-Type': 'application/json;charset=utf-8',
        'data': JSON.stringify(requestBody || {})
    })
}

// 获取警情数据 getPoliceData
export function getPoliceData(requestBody) {
    const apiKey = hashmap.security.getPoliceData
    return commonRequestFunc(apiKey, requestBody)
}

/**综合执法**/
// 电动车事件列表
export function bikeEventList(requestBody) {
    const apiKey = hashmap.city.bikeEventList
    return commonRequestFunc(apiKey, requestBody)
}
// 电动车事件详情
export function bikeEventDetail(requestBody) {
    const apiKey = hashmap.city.bikeEventDetail
    return commonRequestFunc(apiKey, requestBody)
}
// 事件分析
export function eventAnalysis(requestBody) {
    const apiKey = hashmap.city.eventAnalysis
    return commonRequestFunc(apiKey, requestBody)
}
// 事件趋势
export function eventTrend(requestBody) {
    const apiKey = hashmap.city.eventTrend
    return commonRequestFunc(apiKey, requestBody)
}
// 今日交通事件
export function getTodayTraffic(requestBody) {
    const apiKey = hashmap.city.getTodayTraffic
    return commonRequestFunc(apiKey, requestBody)
}
// 实时交通事件列表
export function getRealtimeTraffic(requestBody) {
    const apiKey = hashmap.city.getRealtimeTraffic
    return commonRequestFunc(apiKey, requestBody)
}
// 实时交通事件详情
export function getRealTrafficDetail(requestBody) {
    const apiKey = hashmap.city.getRealTrafficDetail
    return commonRequestFunc(apiKey, requestBody)
}
// 查询电动车事件列表
export function getZhatucheList(requestBody) {
    const apiKey = hashmap.city.getZhatucheList
    return commonRequestFunc(apiKey, requestBody)
}
// 查询实时交通事件列表
export function getRealTrafficList(requestBody) {
    const apiKey = hashmap.city.getRealTrafficList
    return commonRequestFunc(apiKey, requestBody)
}
// 查询实时交通事件列表
export function getZhatucheDetail(requestBody) {
    const apiKey = hashmap.city.getZhatucheDetail
    return commonRequestFunc(apiKey, requestBody)
}
// 获取所属社区列表
export function getCommunityList(requestBody) {
    const apiKey = hashmap.city.getCommunityList
    return commonRequestFunc(apiKey, requestBody)
}
// 获取工程车轨迹列表
export function getMuckcarTrajectory(requestBody) {
    const apiKey = hashmap.city.getMuckcarTrajectory
    return commonRequestFunc(apiKey, requestBody)
}

// 疫情防控
// 重点地区数据总览和较昨日
export function totalDatas(requestBody) {
    const apiKey = hashmap.epidemic.totalDatas
    return commonRequestFunc(apiKey, requestBody)
}
// 累计摸排地区分析
export function pieChartData(requestBody) {
    const apiKey = hashmap.epidemic.pieChartData
    return commonRequestFunc(apiKey, requestBody)
}
// 累计摸排地区分析
export function trendChartData(requestBody) {
    const apiKey = hashmap.epidemic.trendChartData
    return commonRequestFunc(apiKey, requestBody)
}
// 累计摸排和累计隔离
export function dataDetail(requestBody) {
    const apiKey = hashmap.epidemic.dataDetail
    return commonRequestFunc(apiKey, requestBody)
}
// 疫情分布查询
export function epidemicSpread(requestBody) {
    const apiKey = hashmap.epidemic.epidemicSpread
    return commonRequestFunc(apiKey, requestBody)
}
// 疫情分布阀值查询
export function epidemicMax(requestBody) {
    const apiKey = hashmap.epidemic.epidemicMax
    return commonRequestFunc(apiKey, requestBody)
}
// 更新疫情分布
export function updateEpidemicSpread(requestBody) {
    const apiKey = hashmap.epidemic.updateEpidemicSpread
    return commonRequestFunc(apiKey, requestBody)
}
// 疫情分布阀值查询
export function updateEpidemicMax(requestBody) {
    const apiKey = hashmap.epidemic.updateEpidemicMax
    return commonRequestFunc(apiKey, requestBody)
}
// 卡点分布
export function cardPoints(requestBody) {
    const apiKey = hashmap.epidemic.cardPoints
    return commonRequestFunc(apiKey, requestBody)
}
// 观察点位
export function geliPoints(requestBody) {
    const apiKey = hashmap.epidemic.geliPoints
    return commonRequestFunc(apiKey, requestBody)
}
// 计排摸、当天排摸、累计隔离14天趋势
export function trendDetailData(requestBody) {
    const apiKey = hashmap.epidemic.trendDetailData
    return commonRequestFunc(apiKey, requestBody)
}
// 各地区累计隔离柱状图
export function barDetailData(requestBody) {
    const apiKey = hashmap.epidemic.barDetailData
    return commonRequestFunc(apiKey, requestBody)
}
// 各地区累计隔离折线图
export function trendAreaData(requestBody) {
    const apiKey = hashmap.epidemic.trendAreaData
    return commonRequestFunc(apiKey, requestBody)
}

// 党建卡点分布数据
export function partydevelopment(requestBody) {
    const apiKey = hashmap.emergency.partydevelopment
    return commonRequestFunc(apiKey, requestBody)
}

// 网格党员详情
export function gridPartymenberDetail(requestBody) {
    const apiKey = hashmap.emergency.gridPartymenberDetail
    return commonRequestFunc(apiKey, requestBody)
}

// 摸排进度数据
export function partyOptionsData(requestBody) {
    const apiKey = hashmap.epidemic.partyOptionsData
    return commonRequestFunc(apiKey, requestBody)
}

// 集中观察数据
export function centernObserve(requestBody) {
    console.log(requestBody, 'api界面的request')
    const apiKey = hashmap.emergency.isolationDetail
    return commonRequestFunc(apiKey, requestBody)
}

// 获取河道信息
export function getRiverData(requestBody) {
    const apiKey = 'enforcement/river/polygon/list'
    return commonRequestFunc(apiKey, requestBody)
}
